package com.ruoyi.common.yh.api.dtovo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @ClassName UserInfoVO
 * @Deacription TODO
 * @Author Administrator
 * @Date 2021/3/3 15:54
 * @Version 1.0
 **/
@ApiModel(description = "个人用户信息")
public class UserInfoVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "会员等级", name = "memberLevel",required = true)
    private Integer memberLevel;
    @ApiModelProperty(value = "会员等级名称", name = "memberLevelName",required = true)
    private String memberLevelName;
    @ApiModelProperty(value = "推荐码", name = "referralCode;",required = true)
    private String referralCode;//当前用户推荐码 用户中获取
    @ApiModelProperty(value = "头像", name = "avatarUrl",required = true)
    @NotEmpty
    private String avatarUrl;
    @ApiModelProperty(value = "昵称", name = "nickName",required = true)
    @NotEmpty
    private String nickName;
    @ApiModelProperty(value = "电话", name = "phone",required = true)
    @NotEmpty
    private String phone;
    @ApiModelProperty(value = "类型", name = "type",required = true)
    private String type;
    @ApiModelProperty(value = "是否申请主播 1是 0否 -1未认证零售，请前往零售小程序登入一次 2:请先实名", name = "isAnchor",required = true)
    private Integer isAnchor;

    public Integer getIsAnchor() {
        return isAnchor;
    }

    public void setIsAnchor(Integer isAnchor) {
        this.isAnchor = isAnchor;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(Integer memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getMemberLevelName() {
        return memberLevelName;
    }

    public void setMemberLevelName(String memberLevelName) {
        this.memberLevelName = memberLevelName;
    }

    public String getReferralCode() {
        return referralCode;
    }

    public void setReferralCode(String referralCode) {
        this.referralCode = referralCode;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
